package xhq.com.test.extspring;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import xhq.com.test.extspring.listener.MySpringApplicationListener;

@SpringBootApplication
public class ExtspringApplication {

    public static void main(String[] args) {
        //SpringApplication.run(ExtspringApplication.class, args);
        var app = new SpringApplication(ExtspringApplication.class);
        app.addListeners(new MySpringApplicationListener());
        app.run(args);
    }

}
